package com.itheima.innerclass.demo03;

public class Outer {
    private int num = 10;

    public void method(){
        int sum = 20;
        class Inner{
            public void show(){
                System.out.println("num = " + num);
                System.out.println("sum = " + sum);
            }
        }

        Inner inner = new Inner();
        inner.show();
    }
}
